<!DOCTYPE HTML>
<html lang="zh-CN" class="ua-windows ua-ff29">
	<head>
		<meta charset="UTF-8">
		<title>绑脚架</title>
	<script type="text/javascript" src="<?php echo $this->_webroot('js/jquery-1.8.2.min.js'); ?>"></script>
		<style>
			html {
			    background: none repeat scroll 0 0 #FFFFFF;
			    color: #111111;
			}
			body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote {
			    margin: 0;
			    padding: 0;
			}
			table {
			    border-collapse: collapse;
			    border-spacing: 0;
			}
			fieldset, img {
			    border: 0 none;
			}
			address, caption, cite, code, dfn, em, i, strong, th, var, optgroup {
			    font-style: normal;
			    font-weight: normal;
			}
			ul, ol {
			    list-style: none outside none;
			}
			caption, th {
			    text-align: left;
			}
			h1, h2, h3, h4, h5, h6 {
			    font-size: 100%;
			    font-weight: normal;
			}
			q:before, q:after {
			    content: "";
			}
			abbr, acronym {
			    border: 0 none;
			    font-variant: normal;
			}
			sup {
			    vertical-align: baseline;
			}
			sub {
			    vertical-align: baseline;
			}
			legend {
			    color: #000000;
			}
			input, button, textarea, select, optgroup, option {
			    font-family: inherit;
			    font-size: inherit;
			    font-style: inherit;
			    font-weight: inherit;
			}
			input, button, textarea, select {
			}
			pre {
			    white-space: pre-wrap;
			    word-wrap: break-word;
			}
			a {
			    cursor: pointer;
			}
			a:link {
			    color: #3377AA;
			    text-decoration: none;
			}
			a:visited {
			    color: #666699;
			    text-decoration: none;
			}
			a:hover {
			    background: none repeat scroll 0 0 #fff;
			    color: #FFFFFF;
			    text-decoration: none;
			}
			a:active {
			    background: none repeat scroll 0 0 #FF9933;
			    color: #FFFFFF;
			    text-decoration: none;
			}
			a img {
			    border-width: 0;
			    vertical-align: middle;
			}
			body, td, th {
			    font: 12px/1.62 Helvetica,Arial,sans-serif;
			}
			table {
			    border: 0 none;
			    border-collapse: collapse;
			    margin: 0;
			    padding: 0;
			}
			wbr:after {
			    content: "​";
			}
			textarea {
			    resize: none;
			}
			input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
			    outline: 0 none;
			}
			ol {
			    padding: 0 0 0 20px;
			}
			textarea {
			    font-family: Arial;
			    overflow: auto;
			}
			input {
			    font-size: 12px;
			}
			.clearfix {
			}
			.clearfix:after {
			    clear: both;
			    content: ".";
			    display: block;
			    height: 0;
			    visibility: hidden;
			}
			.fle
		</style>
	</head>
	<body>




<style>
.clear {
    clear: both;
    font-size: 0;
    height: 0;
    overflow: hidden;
}	
textarea {
    outline: medium none;
    resize: none;
}
textarea {
    line-height: 1.3;
    overflow: auto;
}
.middle {
    background-color: #fff;
    padding-bottom: 70px;
}
.main {
    margin: 0 auto;
    width: 950px;
    color: #333333;
    font: 12px/1.5 微软雅黑,黑体,Arail;
}
.main a {
    color: #3366CC;
}
.main .nav {
    height: 20px;
}
.main .nav .fs {
    margin-left: 15px;
}
.main .nav .fs:hover {
    text-decoration: underline;
}
.main .nav .dayu {
    color: #807E7A;
    margin: 0 5px;
}
.main .nav .zi {
    color: #4D4B47;
}
.content {
    background-color: #FFFFFF;
    min-height: 700px;
    padding: 0px 70px 100px;
    position: relative;
}
.content .tishi {
    color: #333333;
    font-size: 36px;
    font-weight: bold;
    padding-bottom: 35px;
    float: left;
    margin-top: -10px;    
}
.content .tiZhu {
    position: absolute;
    right: 70px;
    top: 55px;
}
.err {
    color: #CC3300;
    font-size: 16px;
    height: 30px;
    line-height: 20px;
    padding-left: 50px;
}
.reg-p {
    color: #999999;
    float: left;
    font-size: 16px;
    margin-left: 25px;
    margin-top: 10px;
    width: 462px;
}
.navs {
    height: 9px;
    width: 462px;
}
.navs .nav1, .navs .nav2 {
    color: #4D4B47;
    float: left;
    font-size: 16px;
    text-align: center;
    width: 231px;
}
.navs .nav11 {
    background-color: #FFB61B;
    border-radius: 5px 0 0 5px;
    height: 9px;
    overflow: hidden;
}
.navs .nav22 {
    background-color: #EEEEEE;
    border-radius: 0 5px 5px 0;
    height: 9px;
    overflow: hidden;
}
.navs .xie {
    padding-top: 15px;
}
.publish-area {
    font-size: 14px;
    padding-top: 20px;
}
.yue-text {
    border: 1px solid #E1E1E1;
    font-size: 16px;
    height: 31px;
    padding: 2px;
    width: 436px;
}
.biao-list {
    overflow: hidden;
    padding-bottom: 25px;
}
.biao-list .title {
    color: #807E7A;
    float: left;
}
.biao-list .nr {
    color: #4D4B47;
    float: left;
    margin-left: 24px;
}
.biao-list .guimiBox {
    color: #999999;
    left: 300px;
    margin-left: 55px;
    position: absolute;
    top: 2px;
}
.biao-list .ie7txt {
}
.biao-list .ie7nrs {
}
.biao-list .sex-labe {
    margin-right: 40px;
}
.biao-list .sex-labe input {
    margin-right: 10px;
}
.yue-desc {
    border: 1px solid #E1E1E1;
    font-size: 14px;
    height: 146px;
    padding: 2px;
    width: 746px;
}
a.btn {
    background-color: #FFB61B;
    color: #FFFFFF;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    height: 65px;
    line-height: 65px;
    text-align: center;
    width: 350px;
}
a.btn:hover {
    background-color: #FF6600;
    text-decoration: none;
}
.btn {
   /* border-bottom-color: #B3B3B3;
    border-radius: 4px;*/
    cursor: pointer;
    margin-right: 4px;
    overflow: hidden;
    padding: 4px 10px;
    position: relative;
    vertical-align: middle;
}
a {
    text-decoration: none;
}

.common-txt {
    font-size: 14px;	
    border: 1px solid #E1E1E1;
    height: 31px;
    padding: 2px;
}
input {
    outline: medium none;
}



.tips {
    display: none;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 100;
}
.tips SPAN {
    display: inline-block;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}
.tips-sucess {
    background-color: #D4FAC1;
    color: #669900;
}
.tips-error {
    background-color: #FFCCCC;
    color: #990000;
}
.tips-normal {
    background-color: #FFFFFF;
    color: #807E7A;
}
.box-wrap {
    margin: 0 auto;
    overflow: hidden;
    padding: 10px;
 color: #666666;
    font: 12px/1.5 微软雅黑,黑体,Arail;    
}
.box-wrap .box {
    padding: 0 20px;
}
.box-wrap .shop-msg a {
    background: none repeat scroll 0 0 #F5F5F5;
    color: #999999;
    display: inline-block;
    font-size: 24px;
    margin: 15px 15px 0 0;
    padding: 20px 25px;
}
a {
    text-decoration: none;
}
	</style>
		<div class="middle">
			<div class="main">
				<div class="content" style="position:static;">
					<div class="clear"></div>



                    <div class="box-wrap">
				        <div class="box shop-msg">
							<a href="<?php echo $this->_url('scaffold/bind');?>"  style="background: none repeat scroll 0 0 #FB53A2;color:#fff;" >绑定表</a>
							<a href="<?php echo $this->_url('scaffold/yescat');?>"   >有分类模块</a>
							<a href="<?php echo $this->_url('scaffold/nocat');?>"   >无分类模块</a>
						</div>
			        </div>

					<div class="publish-area" gender="0">
						<div class="err" id="regErr"></div>
						<form action="<?php echo $this->_url('scaffold/bindadd');?>" method="post" id="publishForm"  name="form_work">
							<div id="publishBox">

								<div class="biao-list">
									<div class="title" style="padding-top:8px;">绑定简介</div>
									<div class="nr ie7txt">
										<input type="text"  name="data[description]" value=""  class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="nr">
											
									</div>									
									<div class="clear"></div>
								</div>

								<div class="biao-list">
									<div class="title" style="padding-top:8px;">绑定表的Model名</div>
									<div class="nr ie7txt">
										<input type="text"  name="data[table]" value=""  class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="nr">
											
									</div>									
									<div class="clear"></div>
								</div>

								<div class="biao-list">
									<div class="title">不绑定的字段</div>
									<div class="nr">
                                    <textarea name="data[nofields]" class="yue-desc"></textarea>
									</div>
									<div class="clear"></div>
								</div>

								<div class="biao-list">
									<div class="title" style="padding-top:8px;">后台列表页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[admin_list]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>
								
								<div class="biao-list">
									<div class="title" style="padding-top:8px;">后台修改页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[admin_edit]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>
								
								<div class="biao-list">
									<div class="title" style="padding-top:8px;">后台添加页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[admin_add]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>

								<div class="biao-list">
									<div class="title" style="padding-top:8px;">前台列表页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[list]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>
								
								<div class="biao-list">
									<div class="title" style="padding-top:8px;">前台修改页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[edit]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>
								
								<div class="biao-list">
									<div class="title" style="padding-top:8px;">前台添加页模板</div>
									<div class="nr ie7txt">
										<input type="text" name="data[add]" value="" class="common-txt" style="width:436px;" id="zhutiTxt" maxlength="40" />
									</div>
									<div class="clear"></div>
								</div>
								

							</div>
							<div style="padding-top:30px;text-align:center;">	
								<a href="javascript:;" class="btn" id="publishNext"  onclick="postdo()"  style="width:460px;">发布</a>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>



		<div class="tips">	
			<span class="tips-sucess" id="tips"></span>
		</div>

<SCRIPT LANGUAGE="JavaScript">
<!--
function postdo(){
	document.form_work.submit();
}
//-->
</SCRIPT>




	</body>

</html>